package cn.school.dao.impl1;

import java.util.List;

import cn.school.dao1.StudentDao;
import cn.school.entity.Student;
import cn.school.service1.StudentService;

public class StudentServiceImpl implements StudentService {
	private StudentDao studentDao;

	public StudentServiceImpl() {
		studentDao = new StudentDaoImpl();
	}

	public List<Student> getPageStudentList(int pageNo, int pageSize) {
		return studentDao.getPageStudentList(pageNo, pageSize);
	}

	public int getTotalCount() {
		return studentDao.getTotalCount();
	}

}
